<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>工程技术生产运行管理系统</title>


    <link rel="stylesheet" type="text/css" href="easyui/themes/default/easyui.css" />
    <link rel="stylesheet" type="text/css" href="easyui/themes/icon.css" />
    <link rel="stylesheet" type="text/css" href="css/index.css" />
    <script type="text/javascript" src="js/jquery-latest.min.js"></script>
    <script type="text/javascript" src="js/index.js"></script>
    <script type="text/javascript" src="easyui/jquery.easyui.min.js"></script>
</head>
<body>
	<!-- 传递导航栏数据data/dr_nav.json -->
	<iframe id="topframe" width="100%" height="80px;" src="head.html" frameborder="0" marginheight="0" marginwidth="0" jsondata="data/dr_nav.json">
	</iframe>

    
    <div class="center">
        <div id ="layoutdiv" class="easyui-layout" style="width:100%;margin-left: 5px;height: 540px;">
			<div region="west" split="true" title="功能菜单" style="width:150px;" data-options="iconCls: 'icon-tip'">
				<div class="easyui-accordion" data-options="fit:true,border:false" id="menu_left">
				<!-- 这里自动装载需要的左侧二级菜单以及三级菜单 需要维护类似dr.json文件 -->
	            </div>
			</div>
			<div id="content" region="center" title="" style="overflow: auto;height: auto;padding: 5px 5px 0px 5px;">
				<!-- 装载专业首页 需要维护 home.html -->
				<iframe id="contentframe" width="100%" height="100%;" src="home.html" scrolling="auto" frameborder="0" marginheight="0" marginwidth="0" >
				</iframe>
			</div>
		</div>
	</div>
	<div region="south" border="true" id="south"><center><strong>@Copyright</strong> 北京中油瑞飞信息技术有限责任公司</center></div>
	<!-- 首页右侧语言菜单 -->
    <div id="language_menu" class="easyui-menu" style="">
        <div id="ch_ZN">简体中文（√）</div>
        <div id="en_US">英语</div>
        <div id="ru">俄语</div>
        <div id="fr">法语</div>
        <div id="es">西班牙语</div>
    </div>
    <!-- 二级菜单 -->
	<div id="menu">
		
	</div>

<script type="text/javascript">


$(function () {

	loadLocalJSON('0');//初始加载

	/*开始布局*/
	$("#layoutdiv").css("height", $(document).height()-80-$("#south").height());
	$("#content").css("height", $(document).height()-90-$("#south").height());
	
});

setInterval(function(){$("#topframe").contents().find("#time").html(currentTime);},1000);

/*浏览器窗口调整*/
$(window).resize(function() {
	$("#layoutdiv").css("height", $(document).height()-80-$("#south").height());
	$("#content").css("height", $(document).height()-85-$("#south").height());
});


</script>

</body>
</html>
